<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>YuTori Class: クラス TestCaseofInfo</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- 作成： Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "../../search",false,'検索');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">YuTori Class</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>メインページ</span></a></li>
      <li><a href="../../pages.html"><span>関連ページ</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>データ構造</span></a></li>
      <li><a href="../../files.html"><span>ファイル</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="検索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>データ構造</span></a></li>
      <li><a href="../../classes.html"><span>データ構造索引</span></a></li>
      <li><a href="../../inherits.html"><span>クラス階層</span></a></li>
      <li><a href="../../functions.html"><span>データフィールド</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public メソッド</a>  </div>
  <div class="headertitle">
<div class="title">クラス TestCaseofInfo</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="TestCaseofInfo" --><table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public メソッド</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d3e/class_test_caseof_info.html#a9ef6c255993c677e82d3e5112396642a">TestofInfo</a> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>説明</h2>
<div class="textblock"><p>infoメソッドのテスト</p>
<dl class="since"><dt><b>から:</b></dt><dd>2012/04/26 </dd></dl>

<p> <a class="el" href="../../d8/d64/info_8php_source.html">info.php</a> の <a class="el" href="../../d8/d64/info_8php_source.html#l00007">7</a> 行で定義されています。</p>
</div><hr/><h2>関数</h2>
<a class="anchor" id="a9ef6c255993c677e82d3e5112396642a"></a><!-- doxytag: member="TestCaseofInfo::TestofInfo" ref="a9ef6c255993c677e82d3e5112396642a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TestofInfo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p> <a class="el" href="../../d8/d64/info_8php_source.html">info.php</a> の <a class="el" href="../../d8/d64/info_8php_source.html#l00009">9</a> 行で定義されています。</p>
<div class="fragment"><pre class="fragment">                                     {
                <a class="code" href="../../d0/dfd/class_yu_tori.html#a9f0be6ae273d3669e11c29910a0be338">YuTori::init</a>(); <span class="comment">// 初期化</span>

                $this-&gt;assertEqual($res = <a class="code" href="../../d0/dfd/class_yu_tori.html#a992ac1c5c8693fee5495256f2c601bfc">YuTori::info</a>(), array(
                        <span class="stringliteral">&#39;count_construct&#39;</span> =&gt; 0,
                        <span class="stringliteral">&#39;count_destruct&#39;</span> =&gt; 0,
                        <span class="stringliteral">&#39;count_YuTori&#39;</span> =&gt; 0,
                        <span class="stringliteral">&#39;count_max_YuTori&#39;</span> =&gt; 0,
                        <span class="stringliteral">&#39;count_construct_object&#39;</span> =&gt; 0,
                        <span class="stringliteral">&#39;count_destruct_object&#39;</span> =&gt; 0,
                        <span class="stringliteral">&#39;count_object&#39;</span> =&gt; 0,
                        <span class="stringliteral">&#39;count_max_object&#39;</span> =&gt; 0,
                ), <span class="stringliteral">&#39;init直後に全情報0になっているか&#39;</span>);

                $y = <a class="code" href="../../d0/dfd/class_yu_tori.html#abc5f41aad67f5f93d46b4bebbfd2ec3a">YuTori::factory</a> (null, <span class="stringliteral">&#39;test&#39;</span>);
                $this-&gt;assertEqual(<a class="code" href="../../d0/dfd/class_yu_tori.html#a992ac1c5c8693fee5495256f2c601bfc">YuTori::info</a>(), array(
                        <span class="stringliteral">&#39;count_construct&#39;</span> =&gt; 1,
                        <span class="stringliteral">&#39;count_destruct&#39;</span> =&gt; 0,
                        <span class="stringliteral">&#39;count_YuTori&#39;</span> =&gt; 1,
                        <span class="stringliteral">&#39;count_max_YuTori&#39;</span> =&gt; 1,
                        <span class="stringliteral">&#39;count_construct_object&#39;</span> =&gt; 1,
                        <span class="stringliteral">&#39;count_destruct_object&#39;</span> =&gt; 0,
                        <span class="stringliteral">&#39;count_object&#39;</span> =&gt; 1,
                        <span class="stringliteral">&#39;count_max_object&#39;</span> =&gt; 1,
                ), <span class="stringliteral">&#39;1件生成後の状態&#39;</span>);

                $y = <span class="stringliteral">&#39;&#39;</span>;
                $this-&gt;assertEqual($res = <a class="code" href="../../d0/dfd/class_yu_tori.html#a992ac1c5c8693fee5495256f2c601bfc">YuTori::info</a>(), array(
                        <span class="stringliteral">&#39;count_construct&#39;</span> =&gt; 1,
                        <span class="stringliteral">&#39;count_destruct&#39;</span> =&gt; 1,
                        <span class="stringliteral">&#39;count_YuTori&#39;</span> =&gt; 0,
                        <span class="stringliteral">&#39;count_max_YuTori&#39;</span> =&gt; 1,
                        <span class="stringliteral">&#39;count_construct_object&#39;</span> =&gt; 1,
                        <span class="stringliteral">&#39;count_destruct_object&#39;</span> =&gt; 1,
                        <span class="stringliteral">&#39;count_object&#39;</span> =&gt; 0,
                        <span class="stringliteral">&#39;count_max_object&#39;</span> =&gt; 1,
                ), <span class="stringliteral">&#39;1件破棄後の状態&#39;</span>);

                $y = <a class="code" href="../../d0/dfd/class_yu_tori.html#abc5f41aad67f5f93d46b4bebbfd2ec3a">YuTori::factory</a> (null, <span class="stringliteral">&#39;test&#39;</span>);
                $y2 = <a class="code" href="../../d0/dfd/class_yu_tori.html#abc5f41aad67f5f93d46b4bebbfd2ec3a">YuTori::factory</a> (null, <span class="stringliteral">&#39;test&#39;</span>);
                $this-&gt;assertEqual(<a class="code" href="../../d0/dfd/class_yu_tori.html#a992ac1c5c8693fee5495256f2c601bfc">YuTori::info</a>(), array(
                        <span class="stringliteral">&#39;count_construct&#39;</span> =&gt; 3,
                        <span class="stringliteral">&#39;count_destruct&#39;</span> =&gt; 1,
                        <span class="stringliteral">&#39;count_YuTori&#39;</span> =&gt; 2,
                        <span class="stringliteral">&#39;count_max_YuTori&#39;</span> =&gt; 2,
                        <span class="stringliteral">&#39;count_construct_object&#39;</span> =&gt; 3,
                        <span class="stringliteral">&#39;count_destruct_object&#39;</span> =&gt; 1,
                        <span class="stringliteral">&#39;count_object&#39;</span> =&gt; 2,
                        <span class="stringliteral">&#39;count_max_object&#39;</span> =&gt; 2,
                ), <span class="stringliteral">&#39;2件追加生成後の状態&#39;</span>);
        }
</pre></div>
</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全て</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>データ構造</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>関数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>変数</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>YuTori Classに対してMon May 21 2012 00:22:17に生成されました。&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
